###########################################  
#Makefile for simple programs  
###########################################  

CC=g++
CC_FLAG=-Wmisleading-indentation -Wall -fopenmp -g  -DWIFI_PROBOE=0  -DPRODUCT_IVS_PERSON_COUNT=1
  
PRG_EXE=auto
OUT_DIR = ./

OBJS=auto.o 

#INC_PATH=-I ./

#LIBS=-L../lib/ev -lev


$(PRG_EXE):$(OBJS)
	$(CC) -fopenmp -o $@ $(OBJS) -Wl,--start-group $(LIBS) -Wl,--end-group
.SUFFIXES: .c .o .cpp  
.cpp.o:
	$(CC) $(CC_FLAG) -std=c++20 $(INC_PATH) -c $*.cpp -o $*.o
	
  
.PRONY:clean  
clean:
	rm -f $(OBJS) $(PRG_EXE)
